package com.abso.mp3tunes.locker.ui.viewers;

/**
 * Temporary node shown during background Locker access.
 */
public class PendingNode {

	/** The shown text. */
	private String label;

	/** Constructs a new node with <code>Loading...</code> as text. */
	public PendingNode() {
		this("Loading...");
	}

	/**
	 * Constructs a new node with the specified text.
	 * 
	 * @param label
	 *            the node's text.
	 */
	public PendingNode(String label) {
		this.label = label;
	}

	/*
	 * (non-Javadoc)
	 * 
	 * @see java.lang.Object#toString()
	 */
	public String toString() {
		return label;
	}

}
